<input class="dateparam" size="6" id="(id)" (enable) style="color:gray" value="(value)"
	title="Enter (text) or DOUBLE-click to clear"
    ondblclick="HideTimeSelector();this.value='';this.style.color='gray'"
    onkeyup="HideTimeSelector();"
    onfocus="
            if (this.value=='(text)') this.value='';
            this.style.color='black'; 	
            DisplayDateSelector('(id)', null, function() { (id).value=dateUS(dateSQL(this.getvalue())); (id).style.color='black'; HideTimeSelector(); });
            if ( onsearchkeyup ) onsearchkeyup (  this  )
        	"
    onblur="if (this.value=='') 
            {
                this.style.color='gray'; 
                this.value='(text)'; 
                this.title='Enter (text) or DOUBLE-click to clear';
            }" 
	/> 